$('[x-date="true"]').each(function($index,$htmlElement){
    var currentElement=$($htmlElement);
    //~
    if(currentElement.val()==='0000-00-00 00:00:00'){
        currentElement.val('');
    }
    //~
    currentElement.datetimepicker({
        language:'zh-CN',
        weekStart: 1,
        todayBtn:  1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        format:'yyyy-mm-dd'
    });
});